{% extends "projects/base.html" %}


{% block title %}{{action}} - {{block.super}}{% endblock %}


{% block projectcontent %} 
<h2>{{action}}</h2>
{% if preview %}
<h3>Preview</h3>
<div class="preview">
<h2>Release Details for {{release}} {{releasename_extra}}</h2>
<dl>
    <dt>Release Date:</dt><dd>{{release.created|date}}</dd>
    <dt>Author: </dt><dd>{{release.creator}}</dd>
    <dt>Download: </dt><dd><a href="{{release.download_url}}">{{release.download_url}}</a></dd>
    <dt>Release notes: </dt><dd><a href="{{release.notes_url}}">{{release.notes_url}}</a></dd>
</dl>
<h3>Summary</h3>
{{release.raw_summary|safe}}
<h3>Changelog</h3>
{{release.raw_changelog|safe}}
</div>
<br/>
{% endif %}

<form action="" method="post" class="styled">
<table>
{{form}}
	<tr><td></td><td><input type="submit" name="preview" value="preview" class="button"/>
    <input type="submit" name="submit" value="{{action}}" class="button" /></td></tr>
</table>
</form>

{% endblock %} 
